package com.ruoyi.teaching.mapper;

import java.util.List;

import com.ruoyi.teacher.domain.MyTask;
import com.ruoyi.teaching.domain.TeacherStalke;

/**
 * 老师跟踪
Mapper接口
 * lbj
 * @author ruoyi
 * @date 2023-05-18
 */
public interface TeacherStalkeMapper 
{
    /**
     * 查询老师跟踪

     * 
     * @param id 老师跟踪
主键
     * @return 老师跟踪

     */
    public TeacherStalke selectTeacherStalkeById(Long id);

    /**
     * 查询老师跟踪
列表
     * 
     * @param teacherStalke 老师跟踪

     * @return 老师跟踪
集合
     */
    public List<TeacherStalke> selectTeacherStalkeList(TeacherStalke teacherStalke);

    /**
     * 新增老师跟踪

     * 
     * @param teacherStalke 老师跟踪

     * @return 结果
     */
    public int insertTeacherStalke(TeacherStalke teacherStalke);

    /**
     * 修改老师跟踪

     * 
     * @param teacherStalke 老师跟踪

     * @return 结果
     */
    public int updateTeacherStalke(TeacherStalke teacherStalke);

    /**
     * 删除老师跟踪

     * 
     * @param id 老师跟踪
主键
     * @return 结果
     */
    public int deleteTeacherStalkeById(Long id);

    /**
     * 批量删除老师跟踪

     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTeacherStalkeByIds(Long[] ids);
    // 根据学生id获取跟踪信息
    public List<TeacherStalke> findByStudentId(Long studentId);
    // 根据学生id 获取详细追踪信息
    List<TeacherStalke> getfindListByStudentId(Long studentId);
    // 获取当前我的任务集合
    List<MyTask> getfindListmodifyHistorys(String name);
    // 批量修改跟踪次数
    int updateList(List<TeacherStalke> stalke);
}
